package com.drools.project.model.coupon;

import java.io.Serializable;
import java.util.List;

public class User implements Serializable {

    /**
     * 用户名
     */
    private String name;

    /**
     * 是否为会员
     */
    private boolean vip;

    /**
     * 购买次数
     */
    private int purchaseCount;

    /**
     * 购买总金额
     */
    private double totalPurchaseAmount;

    /**
     * 优惠券总金额
     */
    private int couponAmount;

    /**
     * 购买地点
     */
    private String location;

    /**
     * 积分
     */
    private int points;

    /**
     * 订单
     */
    private List<Order> orders;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isVip() {
        return vip;
    }

    public void setVip(boolean vip) {
        this.vip = vip;
    }

    public int getPurchaseCount() {
        return purchaseCount;
    }

    public void setPurchaseCount(int purchaseCount) {
        this.purchaseCount = purchaseCount;
    }

    public double getTotalPurchaseAmount() {
        return totalPurchaseAmount;
    }

    public void setTotalPurchaseAmount(double totalPurchaseAmount) {
        this.totalPurchaseAmount = totalPurchaseAmount;
    }

    public List<Order> getOrders() {
        return orders;
    }

    public void setOrders(List<Order> orders) {
        this.orders = orders;
    }

    public int getCouponAmount() {
        return couponAmount;
    }

    public void setCouponAmount(int couponAmount) {
        this.couponAmount = couponAmount;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public int getPoints() {
        return points;
    }

    public void setPoints(int points) {
        this.points = points;
    }




}
